package com.tjc.apiclientsdk;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName ClientConfig
 * @Author tjc
 *
 * 这个就是进行自动配置的类的关键，使用这几个注解使得能够进行自动创建相应的bean对象并且能够自动配置
 **/
@Configuration
@Data
@ComponentScan
@ConfigurationProperties(prefix = "client.sdk")
public class ClientConfig {
    private String accessKey;
    private String secretKey;
}
